package com.example.flower_shop.vo.usr;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;

@Data
public class CodeReq {
    @NotBlank(message = "用户名不能为空")
    @Schema(description = "用户名", example = "12345678901")
    private String username;
    @NotBlank(message = "验证码类型不能为空")
    @Schema(description = "验证码类型", example = "email")
    private String codeType;
}
